local skel = fk.CreateSkill {
  name = "efengqi__tiandu",
  tags = {Skill.Compulsory},
}

Fk:loadTranslationTable{
  ["efengqi__tiandu"] = "天妒",
  [":efengqi__tiandu"] = "锁定技，当你的判定牌生效后，你视为受到过1点伤害。",

  ["$efengqi__tiandu1"] = "那，就这样吧。",
  ["$efengqi__tiandu2"] = "天意如此。",
}

skel:addEffect(fk.FinishJudge, {
  anim_type = "negative",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(skel.name)
  end,
  on_use = function(self, event, target, player, data)
    player.room:damage{
      to = player,
      damage = 1,
      skillName = skel.name,
      isVirtualDMG = true,
    }
  end,
})

return skel
